adwaita: Use tabular figures where appropriate
authorAlexander Mikhaylenko <alexm@gnome.org>
Wed, 6 May 2020 19:37:55 +0000 (00:37 +0500)
committerAlexander Mikhaylenko <alexm@gnome.org>
Wed, 6 May 2020 19:37:55 +0000 (00:37 +0500)
Port 82b9be3297db7baeb605c286b01978bab02b5373 from GTK3.

gtk/theme/Adwaita/_common.scss

index cacedb5045da53b729279893a90ebfc524a249dc..49d68bc1ac953287d2cbb4090ca4443a3201e5ee 100644 (file)
@@ -1221,6 +1221,8 @@ spinbutton {
       padding: 1px 2px;
     }
   }
+
+  font-feature-settings: "tnum";
 }
 
 
@@ -2743,7 +2745,10 @@ scale {
     }
   }
 
-  > value { color: gtkalpha(currentColor, 0.55); }
+  > value {
+    color: gtkalpha(currentColor, 0.55);
+    font-feature-settings: "tnum";
+  }
 
   &.horizontal {
     > marks {
@@ -3027,6 +3032,7 @@ progressbar {
   // FIXME: insensitive state missing and some other state should be set probably
   font-size: smaller;
   color: transparentize($fg_color, 0.6);
+  font-feature-settings: "tnum";
 
   &:backdrop {
     box-shadow: none;